﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("**********任务**********");
            Task t1 = new Task("红兔", NPCType.任务型NPC, TaskType.送信);
            t1.Hello();
            Task t2 = new Task("白兔", NPCType.任务型NPC, TaskType.杀怪);
            t2.Hello();
            Task t3 = new Task("蓝兔", NPCType.任务型NPC, TaskType.采集);
            t3.Hello();
            Console.WriteLine("**********商贩**********");
            Pedlar p1 = new Pedlar("红兔", NPCType.商贩型NPC, PedlarType.武器);
            p1.Hello();
            Pedlar p2 = new Pedlar("白兔", NPCType.商贩型NPC, PedlarType.材料);
            p2.Hello();
            Pedlar p3 = new Pedlar("蓝兔", NPCType.商贩型NPC, PedlarType.食物);
            p3.Hello();
            Console.WriteLine("**********铁匠**********");
            Blacksmith b1 = new Blacksmith("红兔", NPCType.铁匠型NPC, BlacksmithType.修补);
            b1.Hello();
            Blacksmith b2 = new Blacksmith("白兔", NPCType.铁匠型NPC, BlacksmithType.强化);
            b2.Hello();
            Blacksmith b3 = new Blacksmith("蓝兔", NPCType.铁匠型NPC, BlacksmithType.打造);
            b3.Hello();
            Console.ReadKey();
        }
    }
}
